<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>大客户</title>
    <%@ include file="/WEB-INF/views/commons/common.jsp"%>
    <script type="text/javascript" src="/static/js/system/bigClient.js"></script>
</head>
<body>
    <%--数据表格--%>
    <table id="all_datagrid"  fit="true"></table>

    <%--表格工具栏--%>
    <div id="tb">
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">添加</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="remove">删除</a>
        <a href="JavaScript:;" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
        <a href="javascript:;" class="easyui-linkbutton" data-cmd="watch" data-options="iconCls:'icon-search',plain:true">查看</a>
        <a href="javascript:;" class="easyui-linkbutton" data-cmd="sign" data-options="iconCls:'icon-search',plain:true">签约</a>

        <%--高级查询--%>
        <input type="text" class="easyui-textbox" id="keyword" prompt="要查询的学校名称">

        意向学科:<input class="easyui-combobox" name="ittSubjectId" id="ittSubjectId"
                    data-options="
                    editable:false,
                    url:'/dictionaryItem/getDictionaryItemByParentName.do?content=' + '意向学科',
                    valueField:'id',
                    textField:'name',
                    panelHeight:'auto'
                "/>

        <a href="javascript:;" class="easyui-linkbutton" data-cmd="query" data-options="iconCls:'icon-search',plain:true">查询</a>
    </div>


    <%--添加和编辑弹窗--%>
        <div id="edit_dialog" align="center">
        <form id="edit_form" method="post">
            <table  CELLSPACING="20" align="center" style="margin-top: 20px;
                    border-collapse:separate; border-spacing:0px 10px;">
                <input type="hidden" id="hiddenId" name="id">
                <tr>
                    <td>学校:</td>
                    <td><input  name="schoolName.id" class="easyui-combobox readOnly" data-options="
                            required:true,
                            valueField: 'id',
                            textField: 'name',
                            url: '/dictionaryItem/getDictionaryItemByParentName.do?content=' + '大客户所在的学校',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                    <td>重要程度:</td>
                    <td><input  name="important.id" class="easyui-combobox readOnly" data-options="
                            valueField: 'id',
                            textField: 'name',
                            url: '/dictionaryItem/getDictionaryItemByParentName.do?content=' + '重要程度',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                    <td>意向度:</td>
                    <td><input  name="ittState.id" class="easyui-combobox readOnly" data-options="
                            valueField: 'id',
                            textField: 'name',
                            url: '/dictionaryItem/getDictionaryItemByParentName.do?content=' + '意向程度',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                </tr>
                <tr>
                    <td>营销人员:</td>
                    <td><input  name="marketer.id" class="easyui-combobox readOnly" data-options="
                            required:true,
                            valueField: 'id',
                            textField: 'username',
                            url: '/employee/listData.do',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                    <td>跟进人员:</td>
                    <td><input  name="tracer.id" class="easyui-combobox readOnly" data-options="
                            required:true,
                            valueField: 'id',
                            textField: 'username',
                            url: '/employee/listData.do',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                    <td>跟进状态:</td>
                    <td><input  name="followState" class="easyui-combobox readOnly" data-options="
                            editable:false,
                            required:true,
                             valueField: 'id',
                             textField: 'name',
                             data: [{
                                 id: '1',
                                 name: '已跟进'
                             },{
                                 id: '0',
                                 name: '未跟进'
                             }],
                             panelHeight:'auto'
                             "/>
                    </td>
                </tr>
                <tr>
                    <td>签约状态:</td>
                    <td><input  name="contractState" class="easyui-combobox readOnly" data-options="
                            editable:false,
                            required:true,
                             valueField: 'id',
                             textField: 'name',
                             data: [{
                                 id: '1',
                                 name: '已签约'
                             },{
                                 id: '0',
                                 name: '未签约'
                             }],
                             panelHeight:'auto'
                             "/>
                    </td>

                    <td>最后跟进时间:</td>
                    <td><input type= "text" name="lastFollowTime" class= "easyui-textbox readOnly"></input></td>
                    <td>下次跟进时间:</td>
                    <td><input type= "text" name="nextFollowTime" class= "easyui-textbox readOnly" ></input></td>
                </tr>
                <tr>
                    <td>意向学科:</td>
                    <td><input  name="ittSubject.id" class="easyui-combobox readOnly" data-options="
                            valueField: 'id',
                            textField: 'name',
                            url: '/dictionaryItem/getDictionaryItemByParentName.do?content=' + '意向学科',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                    <td>电话:</td>
                    <td><input type= "text" name="phone" class= "easyui-textbox"></input></td>
                    <td>联系人:</td>
                    <td><input  name="linkman.id" class="easyui-combobox readOnly" data-options="
                            valueField: 'id',
                            textField: 'name',
                            url: '/linkMan/listData.do',
                            editable:false,
                            panelHeight:'auto'
                            "/>
                    </td>
                </tr>
            </table>
        </form>
    </div>

    <%--弹窗底部按钮--%>
    </div>
    <div id="bb">
        <a href="JavaScript:;" class="easyui-linkbutton dialog-button" iconCls="icon-save" data-cmd="save">保存</a>
        <a href="JavaScript:;" class="easyui-linkbutton dialog-button" iconCls="icon-reload" data-cmd="clear">重置</a>
        <a href="JavaScript:;" class="easyui-linkbutton" iconCls="icon-cancel" data-cmd="cancel">关闭</a>
    </div>



</body>
</html>
